<template>
  <div>
    <van-cell center title='推广人数' :value="comList.commissionCount + ' 人'" />
    <van-cell center title='推广人订单统计' :value="comList.extractCount + '单'" />
    <van-cell center title='昨日推广人数' :value="comList.lastDayCount +  ' 人'" />
  </div>
</template>

<script>
import { commission } from '@/api/commission.js'

export default {
  data() {
    return {
      comList: {}
    }
  },
  methods: {
    getCommission() {
      commission().then(res => {
        this.comList = res.data
      })
    }
  },
  created() {
    this.getCommission()
  }
}
</script>

<style lang='scss' scoped>

</style>
